<div class="easyui-tabs" detail="true" data-options="fit:true,border:false">
    <div title="公式配置">
        <table style="width: 99%;margin: 5px" class="tb tab-t t-bor">
            <input type="hidden" id="cgddetail_id" value="${(cgd.id)!}"/>
            <col width="110px"/>
            <col width=""/>
            <col width="150px"/>
            <col width=""/>
            <col width="110px"/>
            <col width=""/>
            <tr>
                <th>公式名称：</th>
                <td colspan="3">
                ${(gspz.mc)!}
                </td>
                <th>截止日期：</th>
                <td>${(gspz.jzrq?date)!}</td>
            </tr>
            <tr>
                <th>设置人：</th>
                <td>
                ${(gspz.szr.xm)!}
                </td>
                <th>代理费计算起始时间：</th>
                <td colspan="3">
                <#if (gspz.sfkhfkrq)??><#if gspz.sfkhfkrq>投资付款时间</#if>${(gspz.khfkrq?date)!}<#else>无</#if>
                </td>
            </tr>
        </table>
    </div>
    <div title="按吨收取">
        <table id="gspz_adsq_detail_table" class="easyui-datagrid"
               url="${base}/base/gspz/adsqList?gspzId=${(gspz.id)!}"
               rownumbers="true" fit="true" fitColumns="true" showFooter="true">
            <thead>
            <tr>
                <th data-options="field:'startDate',width:200,align: 'center'">开始时间</th>
                <th data-options="field:'endDate',width:200,align: 'center'">结束时间</th>
                <th data-options="field:'sfbz',width:200,align: 'center'">收费标准(元/吨)</th>
            </tr>
            </thead>
        </table>
    </div>
    <div title="按天收取">
        <table id="gspz_adsq_detail_table" class="easyui-datagrid"
               url="${base}/base/gspz/atsqList?gspzId=${(gspz.id)!}"
               rownumbers="true" fit="true" singleSelect="true" fitColumns="true" showFooter="true">
            <thead>
            <tr>
                <th data-options="field:'fklx.z',width:150,align: 'center'">付款类型</th>
                <th data-options="field:'startDate',width:150,align: 'center'">周期开始时间(天)</th>
                <th data-options="field:'endDate',width:150,align: 'center'">周期结束时间(天)</th>
                <th data-options="field:'llgs',width:150,align: 'center'">月收费标准(%)</th>
            </tr>
            </thead>
        </table>
    </div>
</div>